package com.y.ari.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 座位表
 * </p>
 *
 * @author itcast
 */
@Data
@TableName("seat")
public class Seat implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 座位id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 座位号
     */
    private String seatNumber;

    /**
     * 状态 0:无人 1:有人
     */
    private Integer isAnyone;

    /**
     * 舱位表
     */
    private Long cabinsId;

    /**
     * 航班表
     */
    private Long flightId;


}
